import { Provider } from 'react-redux';
import React, { Component } from 'react';
import { createStore } from 'redux';
import CounterComponent from '../Component/counter';
// import appReducer from '../reducer';

import * as reducers from '../reducer/trainReducers';

let store = createStore(reducers.simpleReducer);

export default class App extends Component {
  render() {
    return (
      <Provider store={store}>
        <CounterComponent />
      </Provider>
    );
  }
}
